package one.stand.event;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.context.ApplicationEvent;

@Data
@EqualsAndHashCode(callSuper = true)
public class CompanyLicenseAgreeEvent extends ApplicationEvent {
    /**
     * Create a new ApplicationEvent
     */
    private CompanyLicenseAgreeEvent() {
        super("license agree");
    }

    public CompanyLicenseAgreeEvent(Integer companyId) {
        this();
        this.companyId = companyId;
    }

    private Integer companyId;
}
